﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Security;
using System.Windows.Forms;

namespace Inventory
{
    public partial class MD5 : Form
    {
        public MD5()
        {
            InitializeComponent();
        }

        private void btnConfirm_Click(object sender, EventArgs e)
        {
            string pwd = txtPassword.Text;
            labMD5String.Text = FormsAuthentication.HashPasswordForStoringInConfigFile(pwd, "MD5");
        }
    }
}
